package com.ruoyi.article.api;

import com.ruoyi.article.api.model.ArticleDto;
import com.ruoyi.common.dtos.ResponseResult;
import com.ruoyi.common.enums.AppHttpCodeEnum;


public class IArticleClientMock implements IArticleClient{
    @Override
    public ResponseResult saveArticle(ArticleDto dto) {
        System.err.println("熔断--------------------------------------------------");
        return ResponseResult.errorResult(AppHttpCodeEnum.SERVER_ERROR,"获取数据失败");
    }
}
